<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发布商品提示_<?=SITE_NAME?>_<?=$scfg['base']['title']?></title>
<meta name="keywords" content="<?=$scfg['base']['keywords']?>" />
<meta name="description" content="<?=$scfg['base']['description']?>" />
<script type="text/javascript">
try{document.domain="<?=SITE_DOMAIN?>";}catch (e){};
var __scfg__ = {
	staticUrl:"<?=surl::get("static");?>",
	thisPage:"my_sell"
};
</script>
<script type="text/javascript" src="<?=surl::get("static");?>www.js"></script>
</head>
<body>
<? tpl::import('my/header.my.tpl.php');?>
<div id="Main">
  <div class="step">
    <ul style="width:420px;margin:0 auto;">
      <li><span>1</span>确认购买</li>
      <li class="stepHere"><span>2</span>购买付款</li>
      <li><span>3</span>验货签收</li>
      <li><span>4</span>交易完成</li>
    </ul>
  </div>
  <div class="checkdiv">      
          <div class="note">确认商品信息：</div>
           <table cellspacing="0" cellpadding="0" width="890" border="0">
            <tbody>
              <tr>
                <td align="center" width="147" rowspan="5"><img alt="<?=$rs["sTitle"]?>" src="<?=$img[0]?>" height="86" width="86" style="border:solid 1px #CCCCCC;" /></td>
                <td align="right" width="95" height="30">  商品名称：</td>
                <td><a href="<?=$url?>" target="_blank"><?=$rs["sTitle"]?></a></td>
              </tr>
              <tr>
                <td align="right" height="25">  卖　　家：</td>
                <td><?=$rs["urs"]?>&nbsp;&nbsp;&nbsp;&nbsp;<span id="urs_im" align="left"> </span> </td>
              </tr>
              <tr>
                <td align="right" height="25">  商品价格：</td>
                <td><span style="font-weight:bold; color:#FF6666;"><?=$rs["dwPrice_bin"]?> </span>元 
                 </td>
              </tr>
            </tbody>
          </table>
          <div>
            <div class="title">确认您的收货地址</div>
            <div>
              <br />
              <div id="addressList">
              	<? 
				if(is_array($member_addr))
				{
					foreach($member_addr as &$v)
					{
				?>
                <div class="addressItem">
                  <input type="radio"  onclick="addNewAddress();" require="1" value="<?=$v["id"]?>" name="AddressId"  />
                  (收货人:<?=$v["real_name"]?>) <?=$v["country"].$v["address_province"].$v["address_city"].$v["address_borough"]." ".$v["address"]?> (<?=$v["zip"]?>) <?=$v["tel"]?><? //<img hspace="5" src="http://pics.paipai.com/auction/addressModifyF.gif" align="absmiddle" /><span style="color:#999999;line-height:20px">取消修改</span>?>
                </div>
                <?
                	}
				}
				?>
              </div>
              
              <div id="addButton">
                <div id="DivAddressId0"  class="addressItem">
                  <input type="radio" onclick="addNewAddress(this);" value="0" name="AddressId" />
                   使用新的收货地址
                </div>
                <div id="addUserAddr" style="background:#EEF3F6;" class="addressItem">
                </div>
              </div>
            </div>
          </div>        
          <div>
            <div class="title">确认购买数量和邮寄方式</div>
            <div class="maildiv">
              <table cellspacing="1" cellpadding="0" width="100%">
                <tbody>
                  <tr>
                    <td align="right" width="100"><span>*</span>购买数量：</td>
                    <td>&nbsp;<input  max="<?=$dwOpNum?>" size="5" require="1" value="1" name="dwOpNum"/>
                      件<span style="color:#999999;line-height:20px"> (本次最多可购买 <?=$dwOpNum?> 件)</span>
                    </td></tr>
                </tbody>
                <tr>
                  <td align="right"><span>*</span>邮寄费用：</td>
                  <td colspan="2">
				  	<?=implode('&nbsp;',pct::cTransportType($rs,2))?>
                  </td>
                </tr>
                <tr>
                  <td align="right"></td>
                  <td colspan="2" style="color:#999999;line-height:20px">(商品拍下后，仍可由卖家修改运费)</td>
                </tr>
                <tr>
                  <td></TBODY></td>
                </tr>
              </table>
            </div>
          </div>
          <div class="maildiv_line"></div>
          <div class="maildiv">
            <table cellspacing="0" cellpadding="0" width="100%" border="0">
              <tbody>
                <tr>
                  <td width="100" height="60" align="right" >
                  购买留言：<br /><br /><br /><br /></td>
              <td><textarea id="BuyerNote"  name="BuyerNote" maxlen="255" require="2" cols="60"></textarea>
                      <div style="color:#999999;line-height:20px">
                      通过购买留言可告诉卖家您对商品的特殊要求，如买衣服填写：“红色，M码”                      </div></td>
                </tr>
                <tr>
                  <td> </td>
                  <td id="ReloadResetId"><img id="ReloadResetIdImg" src="<?=surl::get('www')?>authcode.gif/?<?=time()?>" /></td>
                </tr>
                <tr>
                  <td align="right" width="100" height="30"><span>*</span>验 证 码：</td>
                  <td><input size="4" name="verifycode" minlen="4" maxlen="4" require="1"/>
                    <a tabindex="9" href="javascript:ReloadReset();">看不清，换一张</a></td>
                </tr>
              </tbody>
            </table>
          </div>
          <div class="desc">
            <div style="padding:30px 0 0 130px">
              <input type="hidden" name="id"   value="<?=$id?>" />
              <input type="hidden" name="Pact" value="payOK" />
              <input type="submit" value="确认无误，购买" class="submitBtn"  onmouseover="this.className='submitBtnOver'" onmouseout="this.className='submitBtn'"/>
              
            </div>
          </div>
          <br />
    </div>
</div>
<? tpl::import('foot.tpl.php');?>
</body>
</html>